package com.imooc.security.core.validate.code;


import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * @Author sherry
 * @Description
 * @Date Create in 2019-03-18
 * @Modified By:
 */
@Data
public class ImageCode extends ValidateCode{
    //    图片
    private BufferedImage image;

    /**
     * @param image
     * @param code
     * @param expireIn 有效时间，秒
     */
    public ImageCode(BufferedImage image, String code, int expireIn) {
        super(code,expireIn);
        this.image = image;
    }



}
